package com.tengju.user.domain.model.club;

import com.tengju.user.domain.model.user.UserId;
import com.tengju.user.domain.model.user.UserIdCode;
import com.tengju.user.domain.model.user.UserInfo;

import java.util.List;

public interface UserZoneMemberRepository {

    List<UserZoneMemberInfo> selectByZoneId(ZoneId zoneId);

    void deleteByZoneId(ZoneId zoneId);

    void insert(ZoneId zoneId,
                UserIdCode userIdCode,
                UserId userId);

    void batchInsert(List<UserZoneMemberInfo> userInfoList);

    List<UserIdCode> selectIdcodeByZoneId(ZoneId zoneId);

    List<UserZoneMemberInfo> selectByUserIdCode(List<UserIdCode> userIdCodeList);


}
